package org.apache.dolphinscheduler.common.task.datamining;


import org.apache.dolphinscheduler.common.process.ResourceInfo;
import org.apache.dolphinscheduler.common.task.AbstractParameters;


import java.util.List;

public class DataminingParameters extends AbstractParameters {

    /**
     *
     */
    private Object inputParam;
    /**
     * resource list
     */

    private List<ResourceInfo> resourceList;

    public List<ResourceInfo> getResourceList() {
        return resourceList;
    }

    public void setResourceList(List<ResourceInfo> resourceList) {
        this.resourceList = resourceList;
    }

    public Object getInputParam() {
        return inputParam;
    }

    public void setInputParam(Object inputParam) {
        this.inputParam = inputParam;
    }

    @Override
    public boolean checkParameters() {
        return inputParam != null;
    }

    @Override
    public List<ResourceInfo> getResourceFilesList() {
        return this.resourceList;
    }
}
